import 'package:flutter_nb_net/flutter_net.dart';

class ReverseGeocodingResp extends BaseNetModel {
  int? code;
  String? msg;
  ReverseGeocodingData? data;

  ReverseGeocodingResp({
    this.code,
    this.msg,
    this.data,
  });

  @override
  fromJson(Map<String, dynamic> json) {
    return ReverseGeocodingResp(
      code: json["code"],
      msg: json["msg"],
      data: json["data"] == null ? null : ReverseGeocodingData().fromJson(json["data"]),
    );
  }
}

class ReverseGeocodingData extends BaseNetModel {
  String? locationDesc;

  ReverseGeocodingData({
    this.locationDesc,
  });

  @override
  fromJson(Map<String, dynamic> json) {
    return ReverseGeocodingData(
      locationDesc: json["locationDesc"],
    );
  }
}